package com.vm.entity;

import java.util.HashSet;
import java.util.Set;


/**
 * Employee entity. @author MyEclipse Persistence Tools
 */

public class Employee  implements java.io.Serializable {


    // Fields    

     private Integer ygId;
     private String ygName;
     private Set messageReplies = new HashSet(0);
     private Set messageBoards = new HashSet(0);


    // Constructors

    /** default constructor */
    public Employee() {
    }

    
    /** full constructor */
    public Employee(String ygName, Set messageReplies, Set messageBoards) {
        this.ygName = ygName;
        this.messageReplies = messageReplies;
        this.messageBoards = messageBoards;
    }

   
    // Property accessors

    public Integer getYgId() {
        return this.ygId;
    }
    
    public void setYgId(Integer ygId) {
        this.ygId = ygId;
    }

    public String getYgName() {
        return this.ygName;
    }
    
    public void setYgName(String ygName) {
        this.ygName = ygName;
    }

    public Set getMessageReplies() {
        return this.messageReplies;
    }
    
    public void setMessageReplies(Set messageReplies) {
        this.messageReplies = messageReplies;
    }

    public Set getMessageBoards() {
        return this.messageBoards;
    }
    
    public void setMessageBoards(Set messageBoards) {
        this.messageBoards = messageBoards;
    }
   








}